<template>
  <tr>
    <td>
      <input type="number" :value="goods.count" @change="$emit('dealcount',(+$event.target.value))"/>
    </td>
    <td>
      <span>{{goods.goodsName}}</span>
    </td>
    <td>
      <span v-show="goods.count===0">卖光了！！！</span>
    </td>
  </tr>
</template>
 
<script>
export default {
  name: "SellAll",
  components: {},
  props: {
    goods:{
      type:Object,
      required:true,
    }
  },
  data() {
    return {
    };
  },
  computed: {},
  watch: {},
  created() {},
  methods: {}
};
</script>

<style scoped>
     
</style>